package com.hqyj;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.ConfigurableApplicationContext;

@SpringBootApplication
public class SpringBoot240130Application {
    public static void main(String[] args){
        ConfigurableApplicationContext run=
        SpringApplication.run(SpringBoot240130Application.class, args);
   Object redisTemplate=run.getBean("redisTemplate");
        System.out.println(redisTemplate);
    }
}
